.PHONY:all
all:servercal clientcal

Flag=#-DMySelf=1
Lib=-ljsoncpp
servercal:ServerCal.cc
	g++ -o $@ $^ -std=c++11 $(Flag) $(Lib)
clientcal:ClientCal.cc
	g++ -o $@ $^ -std=c++11 $(Flag) $(Lib)

.PHONY:clean
clean:
	rm -f servercal clientcal
